package vg.interfaces.ll_services.data_base_service.data.header;

public class VertexHeader implements Cloneable {
	// Defines
	public final static int DEF_NO_LINK2INNER_GRAPH = -1;
	
	// Main data
	private final int id;
    private int graphId;
    private int link2InnerGraph;
	
	public VertexHeader(int id, int graphId) {
        this(id, graphId, DEF_NO_LINK2INNER_GRAPH);
	}

    public VertexHeader(int id, int graphId, int link2InnerGraph) {
        this.id = id;
        this.graphId = graphId;
        this.link2InnerGraph = link2InnerGraph;
    }

    public int getId() {
        return id;
    }

    public int getGraphId() {
        return graphId;
    }

    public void setGraphId(int graphId) {
        this.graphId = graphId;
    }

    public int getLink2InnerGraph() {
        return link2InnerGraph;
    }

    public void setLink2InnerGraph(int link2InnerGraph) {
        this.link2InnerGraph = link2InnerGraph;
    }

    @Override
	public VertexHeader clone() {
		return new VertexHeader(id, graphId, link2InnerGraph);
	}
}
